FUNCTION
pool_assets_with_rules
function pool_assets_with_rules(sender_blockchain_rid: byte_array, sender_id: byte_array, recipient_id: byte_array, asset: asset, amount: big_integer, rules: map<text, rule>): account_creation_transferCreates an account_creation_transfer entity given its parameters.
Can only be called from an operation.
This function does not check anything. It simply creates the entity, so exceptional care is required if this function is needed. Although this function is provided, it is intended for internal use - no use-case should really require it.
Parameters
- sender_blockchain_rid — the ID of the blockchain where the transfer came from
- sender_id — the sender account ID
- recipient_id — the non-existing account that is being registered
- asset — the asset that was transferred
- amount — the amount of the asset that was transferred
- rules — the rules this transfer satisfies
See Also
- module_args_list_element — for a description of rules
© 2024 Chromia